﻿using MongoDB.Attributes;
using System;

namespace Resn.WhuPub.DML
{
        /// <summary>
        /// 员工数据模型
        /// </summary>

        public class EmployeeModel:IIdentity
        {
                #region 属性

                /// <summary>
                /// 获取或设置标识
                /// </summary>
                /// <value>
                /// 标识
                /// </value>
                [MongoId]
                public String Id { get; set; }

                /// <summary>
                /// 获取或设置员工姓名
                /// </summary>
                /// <value>
                /// 员工姓名
                /// </value>
                public String Name { get; set; }

                /// <summary>
                /// 获取或设置员工密码
                /// </summary>
                /// <value>
                /// 员工密码
                /// </value>
                public String Password { get; set; }

                /// <summary>
                /// 获取或设置员工层次
                /// </summary>
                /// <value>
                /// 员工层次
                /// </value>
                public String Level { get; set; }

                /// <summary>
                /// 获取或设置员工状态
                /// </summary>
                /// <value>
                /// 员工状态
                /// </value>
                public String State { get; set; }

                /// <summary>
                /// 获取或设置员工职务
                /// </summary>
                /// <value>
                /// 员工职务
                /// </value>
                public String Duty { get; set; }

                /// <summary>
                /// 获取或设置员工联系电话和手机
                /// </summary>
                /// <value>
                /// 员工联系电话和手机，多个电话用分号隔开
                /// </value>
                public String Telephone { get; set; }

                /// <summary>
                /// 获取或设置员工QQ
                /// </summary>
                /// <value>
                /// 员工QQ，多个QQ用分号隔开
                /// </value>
                public String QQ { get; set; }

                /// <summary>
                /// 获取或设置员工电子邮箱
                /// </summary>
                /// <value>
                /// 员工电子邮箱，多个邮箱用分号隔开
                /// </value>
                public String Email { get; set; }

                /// <summary>
                /// 获取或设置员工省份权限项集合字符串
                /// </summary>
                /// <value>
                /// 员工省份权限项集合字符串,多项权限项用分号隔开
                /// </value>
                public String Access { get; set; }

                /// <summary>
                /// 获取或设置员工备注
                /// </summary>
                /// <value>
                /// 员工备注
                /// </value>
                public String Memo { get; set; }

                #endregion 属性
        }
}